
// #ifndef VUE3
import Vue from 'vue'
import App from './App'
import i18n from '@/locale/index.js';
import plugins from "@/plugins/index.js"
import api  from "@/api/request.js"
import GlobalPlugin from '@/api/baseUrl.js';
import AES from '@/js_sdk/ar-aes/ar-aes.js'

Vue.prototype.AES = AES.AES
Vue.config.productionTip = false
Vue.prototype.api = api
Vue.use(plugins)
Vue.use(GlobalPlugin);

App.mpType = 'app'

const app = new Vue({
  i18n,
  ...App
})
app.$mount()
// #endif

// #ifdef VUE3
import { createSSRApp } from 'vue'
import App from './App.vue'
export function createApp() {
  const app = createSSRApp(App)
  return {
    app
  }
}
// #endif